package com.moxiao.yfjh.module.blind.controller.admin.background.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 背景图管理 Excel 导出 Request VO，参数和 BackgroundPageReqVO 是一致的")
@Data
public class BackgroundExportReqVO {

    @Schema(description = "banner图片名称", example = "赵六")
    private String name;

    @Schema(description = "URL", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "类型：1=官方活动，2=个人活动，3=推荐页男图库，4=推荐页女图库", example = "2")
    private String type;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
